package com.imooc.aspectJ.demo2;

import javax.annotation.Resource;

public class MyDemo {

//    @Resource(name = "customerDao")
//    private CustomerDao customerDao;

    public void demo1(CustomerDao customerDao) {
        customerDao.save();
        customerDao.update();
        customerDao.delete();
        customerDao.findOne();
        customerDao.findAll();
    }
}
